package com.youlai.boot.modules.game.model.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 游戏评论查询参数
 *
 * @author 有来技术团队
 */
@Schema(description = "游戏评论查询参数")
@Data
public class GameCommentQuery {

    @Schema(description = "游戏ID")
    private Long gameId;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "状态(0-待审核,1-已发布,2-已拒绝)")
    private Integer status;

    @Schema(description = "是否只查询一级评论", defaultValue = "false")
    private Boolean rootOnly = false;

    @Schema(description = "页码", defaultValue = "1")
    private Integer pageNum = 1;

    @Schema(description = "每页记录数", defaultValue = "10")
    private Integer pageSize = 10;
} 